<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <%@ include file="/WEB-INF/views/include.inc.jsp"%>
    <title>line</title>
  </head>
  
  <body>
    	<!-- 为 ECharts 准备一个具备大小（宽高）的 DOM -->
		<div id="demo-bar-and-line" style="float:left" class="echarts"
			echarts-type="bar"
			echarts-title="未来一周气温变化"
			echarts-link="https://www.baidu.com/" 
			echarts-subtitle="折线图"
			echarts-sublink="https://www.baidu.com/"
			echarts-theme="macarons"
			echarts-toolbox="true"
			echarts-datazoom="true"
			echarts-x-axis-name="日期(星期)"
			echarts-y-axis-name="最高温度(°C),最低温度(°C)"
			echarts-url="${contextPath}/echarts/barAndLine"
		></div>
		<textarea style="width:370px;height:380px;color:#009688;margin-left:10px" readonly="readonly">
		//代码区域
		<div id="demo-bar-and-line" style="float:left" class="echarts"
			echarts-type="bar"
			echarts-title="未来一周气温变化"
			echarts-link="https://www.baidu.com/" 
			echarts-subtitle="折线图"
			echarts-sublink="https://www.baidu.com/"
			echarts-theme="macarons"
			echarts-toolbox="true"
			echarts-datazoom="true"
			echarts-x-axis-name="日期(星期)"
			echarts-y-axis-name="最高温度(°C),最低温度(°C)"
			echarts-url="${contextPath}/echarts/barAndLine"
		></div>
	</textarea>
  </body>
</html>
